package com.well.register.console.aop;

import lombok.Data;

/**
 * @author welldo
 * @className WellException
 * @date: 2022/8/6 下午11:00
 * @description:
 */
@Data
public class WellException extends RuntimeException {

  private int code;
  private String msg;

  public WellException(int code, String msg, Exception e) {
    super(e);
    this.code = code;
    this.msg = msg;
  }
  public WellException(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }
}